<!DOCTYPE html>
<!-- saved from url=(0065)http://10.10.45.100:8080/mall/admin/product_edit.html?productId=6 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>机械配件商城管理平台</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="css/ionicons.min.css">
    <!-- DataTables -->
    <link rel="stylesheet" href="css/dataTables.bootstrap.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect. -->
    <link rel="stylesheet" href="css/skin-blue.min.css">
    <!--富文本编辑框-->
    <link rel="stylesheet" type="text/css" href="css/simditor.css">
    <!--web uploader-->

    <link rel="stylesheet" type="text/css" href="css/webuploader.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- Google Font -->

<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
| SKINS         | skin-blue                               |
|               | skin-black                              |
|               | skin-purple                             |
|               | skin-yellow                             |
|               | skin-red                                |
|               | skin-green                              |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed                                   |
|               | layout-boxed                            |
|               | layout-top-nav                          |
|               | sidebar-collapse                        |
|               | sidebar-mini                            |
|---------------------------------------------------------|
-->
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <!-- Main Header -->
    <header class="main-header">

        <!-- Logo -->
        <a href="index.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini">AMS</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg">ACTION商城管理平台</span>
        </a>

        <!-- Header Navbar -->

        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
            <!-- Navbar Right Menu -->
        </nav>


    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">

            <!-- Sidebar user panel (optional) -->
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="img/user2-160x160.jpg" class="img-circle" alt="User Image">
                </div>
                <div class="pull-left info">
                    <!--当前登陆的用户名-->
                    <p id="user-info-container"></p>
                    <!-- Status -->
                    <a href="#"><i class="fa fa-circle text-success"></i>在线</a>
                </div>
            </div>

            <!-- search form (Optional) -->
            <!--
            <form action="#" method="get" class="sidebar-form">
              <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
                <span class="input-group-btn">
                    <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                    </button>
                  </span>
              </div>
            </form>
            -->
            <!-- /.search form -->

      <!-- Sidebar Menu -->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">HEADER</li>
        <!-- Optionally, you can add icons to the links -->
        <li class="active"><a href="#"><i class="fa fa-link"></i> <span>商品管理</span></a></li>
        <li><a href="param_list.html"><i class="fa fa-link"></i> <span>类型管理</span></a></li>
        <li><a href="order_list.html"><i class="fa fa-link"></i> <span>订单管理</span></a></li>
        <li><a href="user_management.html"><i class="fa fa-link"></i> <span>用户管理</span></a></li>

      </ul>
            <!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                商品管理
                <small></small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="index.html"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li class="active">商品管理</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content container-fluid">

            <!--------------------------
              | Your Page Content Here |
              -------------------------->


            <div class="row">
                <div class="col-xs-12">
                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">修改商品</h3>
                        </div>
                        <!-- /.box-header -->
                        <form class="form-horizontal">
                            <div class="box-body">
                                <div class="form-group">
                                    <label for="goodsName" class="col-sm-2 control-label">商品名称</label>

                                    <div class="col-sm-5">
                                        <input type="text" class="form-control" id="goodsName" placeholder="请输入商品名称">
                                        <!--存储商品编号-->
                                        <input type="hidden" id="goodsId" value="6">
                                    </div>
                                </div>                                
                                <div class="form-group">
                                 <label for="productType" class="col-sm-2 control-label">所属产品类型</label>

                                    <div class="col-sm-5">
                                        <select class="form-control" id="productType"></select>
                                    </div>
                                </div>

                                <div class="form-group" id="parts-type-container" style="display: block;">
                                    <label for="partsType" class="col-sm-2 control-label">所属配件类型</label>

                                    <div class="col-sm-5">
                                        <select class="form-control" id="partsType"></select>
                                    </div>
                                </div>                                
                                <div class="form-group">
                                    <label for="goodsPrice" class="col-sm-2 control-label">商品价格</label>

                                    <div class="col-sm-5">
                                        <div class="input-group">
                                            <input type="number" class="form-control" id="goodsPrice">
                                            <span class="input-group-addon">元</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="goodsStock" class="col-sm-2 control-label">商品库存</label>

                                    <div class="col-sm-5">
                                        <div class="input-group">
                                            <input type="number" class="form-control" id="goodsStock">
                                            <span class="input-group-addon">件</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">上传图片</label>
                                    <input type="hidden" id="images">

                                    <div id="uploader-demo" class="col-sm-10">
                                        <!--用来存放item-->
                                        <div id="fileList" class="uploader-list"></div>
                                        <div id="filePicker" class="webuploader-container"><div class="webuploader-pick">选择图片</div>
                                        <div id="rt_rt_1de6o8pjei161fdj1bjsh4h1j051" style="position: absolute; top: 0px; left: 0px; width: 86px; height: 40px; overflow: hidden; bottom: auto; right: auto;"><input type="file" name="file" class="webuploader-element-invisible" multiple="multiple" accept="image/*"><label style="opacity: 0; width: 100%; height: 100%; display: block; cursor: pointer; background: rgb(255, 255, 255);"></label></div></div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="goodsDetail" class="col-sm-2 control-label">商品详情</label>

                                    <div class="col-sm-10">
                                       <div class="simditor">
  <div class="simditor-wrapper">
  <textarea id="txt-content" data-autosave="editor-content" autofocus></textarea>
  </div>
  <div class="simditor-popover code-popover">
  <div class="code-settings">
  <div class="settings-field">
    <select class="select-lang"></select>
   </div>
   </div>
   </div>
<div class="simditor-popover link-popover"><div class="link-settings">
  <div class="settings-field">
    <label>链接文字</label>
    <input class="link-text" type="text">
    <a class="btn-unlink" href="javascript:;" title="移除链接" tabindex="-1">
      <span class="simditor-icon simditor-icon-unlink"></span>
    </a>
  </div>
  <div class="settings-field">
    <label>链接地址</label>
    <input class="link-url" type="text">
  </div>
  <div class="settings-field">
    <label>打开方式</label>
    <select class="link-target"></select>
  </div>
</div>
</div>
<div class="simditor-popover image-popover"><div class="link-settings">
  <div class="settings-field">
    <label>图片地址</label>
    <input class="image-src" type="text" tabindex="1">
    <a class="btn-upload" href="javascript:;" title="上传图片" tabindex="-1">
      <span class="simditor-icon simditor-icon-upload"></span>
    <input type="file" title="上传图片" multiple="multiple" accept="image/gif,image/jpeg,image/jpg,image/png,image/svg"></a>
  </div>
  <div class="settings-field">
    <label>图片描述</label>
    <input class="image-alt" id="image-alt" type="text" tabindex="1">
  </div>
  <div class="settings-field">
    <label>图片尺寸</label>
    <input class="image-size" id="image-width" type="text" tabindex="2">
    <span class="times">×</span>
    <input class="image-size" id="image-height" type="text" tabindex="3">
    <a class="btn-restore" href="javascript:;" title="还原图片尺寸" tabindex="-1">
      <span class="simditor-icon simditor-icon-undo"></span>
    </a>
  </div>
</div>
</div>
</div><div id="preview" style="display:none"></div>
</div>
                    </div>
                    </div>
                            <!-- /.box-body -->
                     <div class="box-footer">
                     <button type="button" id="btn-save" class="btn btn-primary" style="margin-left:17%;">保存</button>
                     </div>
                            <!-- /.box-footer -->
                        </form>
                        <!-- /.box-body -->
                    </div>
                    <!-- /.box -->
                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Main Footer -->
    <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">

        </div>
        <!-- Default to the left -->
        <strong>Copyright © 2018 <a href="#">XXXX数字科技有限公司</a>.</strong> 版权所有.
    </footer>

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
        <!-- Create the tabs -->
        <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
            <li class="active"><a href="product_edit.html?productId=6#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
            <li><a href="product_edit.html?productId=6#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
        </ul>
        <!-- Tab panes -->
        <div class="tab-content">
            <!-- Home tab content -->
            <div class="tab-pane active" id="control-sidebar-home-tab">
                <h3 class="control-sidebar-heading">Recent Activity</h3>
                <ul class="control-sidebar-menu">
                    <li>
                        <a href="javascript:;">
                            <i class="menu-icon fa fa-birthday-cake bg-red"></i>
                        </a>
                    </li>
                </ul>
                <!-- /.control-sidebar-menu -->

                <h3 class="control-sidebar-heading">Tasks Progress</h3>
                <ul class="control-sidebar-menu">
                    <li>
                        <a href="javascript:;">
                        </a>
                    </li>
                </ul>
                <!-- /.control-sidebar-menu -->

            </div>
            <!-- /.tab-pane -->
            <!-- Stats tab content -->
            <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
            <!-- /.tab-pane -->
            <!-- Settings tab content -->
            <div class="tab-pane" id="control-sidebar-settings-tab">
                <form method="post">
                    <h3 class="control-sidebar-heading">General Settings</h3>

                    <div class="form-group">
                        <label class="control-sidebar-subheading">
                            Report panel usage
                            <input type="checkbox" class="pull-right" checked>
                        </label>

                        <p>
                            Some information about this general settings option
                        </p>
                    </div>
                    <!-- /.form-group -->
                </form>
            </div>
            <!-- /.tab-pane -->
        </div>
    </aside>
    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
    immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>

<!-- jQuery 3 -->
<!-- <script src="js/jquery.min.js"></script> -->
<!-- Bootstrap 3.3.7 -->
<!-- <script src="js/bootstrap.min.js"></script> -->
<!-- DataTables -->
<!-- <script src="js/jquery.dataTables.min.js"></script> -->
<!-- <script src="js/dataTables.bootstrap.min.js"></script> -->
<!-- AdminLTE App -->
<!-- <script src="js/adminlte.min.js"></script> -->


<!-- 富文本编辑框
<script type="text/javascript" src="js/module.js"></script>
<script type="text/javascript" src="js/uploader.js"></script>
<script type="text/javascript" src="js/hotkeys.js"></script>
<script type="text/javascript" src="js/simditor.js"></script> -->

<!--webuploader-->
<!-- <script type="text/javascript" src="js/webuploader.js"></script>
<script type="text/javascript" src="js/handlebars-v4.0.11.js"></script> -->



<script src="js/require.js" defer async="true"></script>
<script src="js/require.js" data-main="js/product_edit_main"></script>
<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. -->



<script id="param_item_tpl" type="text/x-handlebars-template">
    {{#each this}}
    <option value="{{id}}">{{name}}</option>
    {{/each}}
</script></body></html>